package com.wondertek.service.sdk.iotdh.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/8/15 11:02
 */
@Data
public class AlarmInfo {
    @Schema(name = "deviceId", description = "云平台设备ID", required = false)
    private String deviceId;

    @Schema(name = "deviceSn", description = "设备编码", required = false)
    private String deviceSn;

    @Schema(name = "deviceName", description = "设备名称", required = false)
    private String deviceName;

    @Schema(name = "channelId", description = "通道编码", required = false)
    private String channelId;

    @Schema(name = "channelName", description = "通道名称", required = false)
    private String channelName;

    @Schema(name = "typeName", description = "设备大类", required = false)
    private String typeName;

    @Schema(name = "subTypeName", description = "设备小类", required = false)
    private String subTypeName;

    @Schema(name = "alarmType", description = "告警类型", required = false)
    private String alarmType;

    @Schema(name = "alarmLevel", description = "告警等级 1-4", required = false)
    private String alarmLevel;

    @Schema(name = "alarmTime", description = "告警时间", required = false)
    private Long alarmTime;

    @Schema(name = "alarmInfo", description = "json数据，存放告警的一些附加信息", required = false)
    private String alarmInfo;

    @Schema(name = "handleResult", description = "处理结果 1 待确认 2 已下发 3 已确认", required = false)
    private Integer handleResult;

    @Schema(name = "handleTime", description = "处理时间", required = false)
    private Long handleTime;

    @Schema(name = "handleUserName", description = "处理人", required = false)
    private String handleUserName;
}
